package com.brother.goallife.dao;

import java.security.Principal;

import com.brother.goallife.dto.Account;
import com.brother.goallife.exception.FatalException;

public interface AccountDAO {
	
	public Account findByUsername(String username) throws FatalException;

	/**
	 * Login user
	 */
	public Principal login(String username, String password) throws FatalException;
	
	
	public void updateAccount(Account account) throws FatalException;
	
}
